* {
	line-height: 1.5;
	box-sizing: border-box;

	/* for debug */
	/* background-color: rgba(0, 0, 0, .05); */
}

body {
	font-family: "Helvetica Neue", Helvetica, "Microsoft YaHei", Arial, sans-serif;
	font-size: 16px;

}


.container {
	padding-left: 15px;
	padding-right: 15px;
	margin: 0 atuo;
	min-width: 500px;
}



/* border-radius */
input,
textarea .navbar {
	border-radius: 5px;


}



.navbar {
	/* height: 50px; */
	background-color: rgb(220, 0, 0, 0.7);

	padding: 10px 0;
}

.navbar h1 {
	font-size: 28px;
	color: white;
	text-align: center;
	margin: 0 auto;

}

.header {
	padding: 5px 0;
}

.header h2 {
	color: #777;
	font-size: 20px;
	text-align: center;
}


.wrap {
	max-width: 550px;
	margin: 0px auto;
	/* border: 1px solid blue; */
}


.task-list  {
	margin-top: 20px;
	margin-bottom: 20px;
}






.wrap .hr {
	height: 0px;
	display: block;
	border: 0.2px solid #ccc;
	box-shadow: 0px 2px 5px #A8A8A8;
}



input,
textarea {
	display: block;
	width: 100%;
	height: 40px;

	padding: 5px 10px;
	border: 1px solid rgba(0, 0, 0, .1);
	margin-bottom: 5px;
	box-shadow: 0 2px 3px rgb(0 0 0 / 10%);
}


#task-input {
	outline: none;

}

#task-input:focus {

	border: 0.5px solid #ea0014;
}


textarea {
	height: 100px;
}

input[type="submit"] {
	display: block;
	width: 15%;
	height: 36px;
}



/* 提交按钮 */
input[type="submit"]:hover {
	cursor: pointer;
	background-color: #e64c4c;
	color: white;
	border: 1px solid #e64c4c;
}


/* todo */
.task-list {
	/* height: 100px; */
	/* border: 1px solid black; */
	min-height: 55px;
}


.task-list .segment-title {
	/* color: #aaa; */
	color: #e64c4c;
	margin-top: 15px;
	margin-bottom: 10px;
	font-weight: lighter;
	font-size: 20px;
	font-family: sans-serif;
}




.completed .segment-title {
	color: #aaa;

}

.task-list .item {
	padding: 5px;
	display: block;
	border-radius: 5px;
	margin: 5px 0;
	position: relative;
}


.task-list .item:hover {
	background-color: rgba(0, 0, 0, .1);
}

.task-list .item>span,
button {
	display: inline-block;
	vertical-align: middle;
}



.task-list .item span.status:hover {
	cursor: pointer;
	color: white;
	font-weight: bold;
}




.task-list .item span.title {
	color: #555;
	padding-left: 20px;
	padding-right: 15px;
}


.task-list .item button {
	outline: none;
	border: none;
	border-radius: 3px;
	font-size: 80%;
	float: right;

	padding: 5px 10px;
	margin-top: 10px;
	margin-right: 5px;

	display: none;
	background: #fff;

}



.task-list .item button:hover {

	cursor: pointer;
	color: white;
	font-weight: bold;
	background-color: #46a9e4;


}

.task-list .item:hover button {
	display: inline-block;
}



/* 默认状态颜色，未完成 */
.task-list .toggle-complete {
	display: inline-block;
	width: 45px;
	height: 45px;

	line-height: 45px;
	text-align: center;

	background: #50beff;
	border: 1px solid #46a9e4;

	font-size: small;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}


/* 已完成的 状态图颜色 */
.completed .toggle-complete {
	background: #ccc;
	border-color: #bbb;
}


.clearfix::before,
.clearfix::after {
	content: '';
	clear: both;
}